﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Test_Default" %>
<script runat="server">
    protected void gv_DataBinding(object sender, EventArgs e)
    {
        int[] l = { 1, 2, 3, 4, 8 ,3, 22, 15 };

        gv.DataSource = l;
    }
</script>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <My:MyGridView ID="gv" runat="server" AutoGenerateColumns="true" OnDataBinding="gv_DataBinding"></My:MyGridView>
    </div>
    </form>
</body>
</html>
